#-------------------------------------------------
#
# Project created by QtCreator 2016-11-01T17:33:32
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS


QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TRANSLATIONS += loginEnglishLan.ts

TARGET = login
TEMPLATE = lib

DEFINES += LOGIN_LIBRARY
DEFINES += LOGINSTATUS_LIBRARY

SOURCES += login.cpp \
    mylineedit.cpp \
    loginstatus.cpp \
    ipsetdialog.cpp \
    safetynoticeform.cpp

HEADERS += login.h\
        login_global.h \
    mylineedit.h \
    loginstatus.h \
    loginstatus_global.h \
    ipsetdialog.h \
    safetynoticeform.h

unix {
    target.path = /usr/lib
    INSTALLS += target
}

RESOURCES +=

FORMS += \
    login.ui \
    loginstatus.ui \
    ipsetdialog.ui \
    safetynoticeform.ui

INCLUDEPATH += ../CommunicateDelegate
INCLUDEPATH += ../ProgramSet
INCLUDEPATH += ../ProgramLanguageTranslate
INCLUDEPATH += ../../include/MacroDefine

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS

}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm
}



CODECFORTR = utf-8 #or gbk
#DEFAULTCODEC = utf-8
#CODEC = utf-8


#编译目录
UI_DIR += ../../build/tmphmi
MOC_DIR += ../../build/tmphmi
OBJECTS_DIR += ../../build/tmphmi
RCC_DIR += ../../build/tmphmi
